package CreationalPatterns.Prototype.Deep;

public class Test {

  public static void main(String[] args) throws Exception{
    Goat goat = new Goat();
    goat.name = "will";
    goat.goatTarget = new GoatTarget("ospreay","ospreay.class");

    Goat clone = (Goat) goat.clone();

    System.out.println(goat.hashCode());
    System.out.println(clone.hashCode());
  }
}
